﻿<UserControl x:Class="PhotoWidget.WidgetControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:PhotoWidget"
             MouseWheel="UserControlMouseWheel" HorizontalAlignment="Center" VerticalAlignment="Center" MouseLeftButtonDown="UserControlMouseLeftButtonDown">
    <UserControl.RenderTransform>
        <ScaleTransform x:Name="Scale"/>
    </UserControl.RenderTransform>
    <Grid Margin="15,20,15,20">
        <Image Name="BgImage" Source="/Photo;component/Resources/photo_frame_portrait.png" RenderOptions.BitmapScalingMode="HighQuality" Height="362" Width="250" RenderTransformOrigin="0.5,0.5" Opacity="0.7">
            <Image.RenderTransform>
                <RotateTransform Angle="8"/>
            </Image.RenderTransform>
        </Image>
        <local:Frame x:Name="BgFrame" Angle="8" Opacity="0.7"/>
        <local:Frame x:Name="Frame"/>
    </Grid>
</UserControl>
